package com.icss.day01;

public class Test6 {
    public static void main(String[] args) {
        // 对象的实例化
        Student stu = new Student();
        stu.setName("tom");
        stu.setAge(10);
        Student stu2 = new Student();
        stu2.setName("jerry");
        stu2.setAge(11);

        stu.eat();
        stu2.eat();
        System.out.println(stu);
        System.out.println(stu2);
    }
}
